<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>长安链</title>
    <link rel="stylesheet" href="../../../../../lib/ui/js/plugins/datepicker/bootstrap-datetimepicker.min.css">
    <link rel="stylesheet" href="../../../../../lib/ui/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../../../../lib/ui/css/plugins/bootstrap-table/bootstrap-table.min.css">
    <link rel="stylesheet" href="../../../../../lib/layui/css/layui.css">
    <link rel="stylesheet" href="../../../../../content/pc/sysmgt/chianCommittee/css/jquery.paginate.css">
    <link rel="stylesheet" href="../../../../../content/pc/sysmgt/chianCommittee/css/jquery.yhhDataTable.css">
    <link rel="stylesheet" href="../../../../../content/pc/sysmgt/chianCommittee/css/changan.css">
    <link rel="stylesheet" href="../../../../../content/pc/sysmgt/blockchainManagement/blockchainManagement.css"/>
</head>
<body>
<div class="body">
    <section class="table-box">
        <section class="table-box-body">
            <main class="table_cont">
                <div class="table_cont_inner">
                    <div class="table-header">
                        <h2 class="table-h2">区块链管理委员会</h2>
                    </div>
                    <div class="table-body">
                        <div class="table-tapple">
                            <div class="table-top">
                                <div class="table-top-tit">
                                    <button class="top-tit-btn dialog1btn" onclick="createBlockchainCommitteeFun()">创建区块链委员会</button>

                                </div>
                                <div class="table-top-serchbox">
                                    <div class="table-top-serch">
                                        <div class="top-serch">
                                            <div class="top-serch-box"><input type="search" placeholder="请输入关键词" class="serch-input" value=""></div>
                                            <button class="top-serch-box-btn" type="button"><i class="table-icon-search" role="img"></i></button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="table-card">
                                <div class="table-table">

                                    <div class="yhh-data-table-frame">
                                        <table id="blockCommitteeTable" class="yhh-data-table end-view-btn  table table-hover ideTable second-table">
                                        </table>

                                    </div>
                                </div>

                            </div>
                        </div>

                    </div>
                </div>
                <div class="table_cont_inner">
                    <div class="table-header">
                        <h2 class="table-h2">委员会投票策略</h2>
                    </div>
                    <div class="table-body">
                        <div class="table-tapple">
                            <div class="table-top">
                                <div class="table-top-tit">
                                    <button class="top-tit-btn dialog2btn" onclick="addPolicyFun()">添加策略</button>
                                </div>
                                <div class="table-top-serchbox">
                                    <div class="table-top-serch">
                                        <div class="top-serch">
                                            <div class="top-serch-box"><input type="search" placeholder="请输入关键词" class="serch-input" value=""></div>
                                            <button class="top-serch-box-btn" type="button"><i class="table-icon-search" role="img"></i></button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="table-card">
                                <div class="table-table">

                                    <div class="yhh-data-table-frame">
                                        <table id="groupManagement" class="yhh-data-table end-view-btn table table-hover ideTable second-table">
                                        </table>

                                    </div>
                                </div>

                            </div>
                        </div>

                    </div>
                </div>
            </main>

        </section>
    </section>
</div>
<!-- <div class="dialog1">
    <div class="table-dialog">
        <div class="table-dialog__header"><h3 class="table-dialog__headertitle">添加投票策略页面</h3>
            <button class="table-btn table-btn--icon" type="button" aria-label="关闭"><i class="table-icon table-icon-close close2" role="img" aria-label="close"></i></button>
        </div>
        <div class="table-dialog__body">
            <div class="table-form">
                <div class="table-form__item">
                    <div class="table-form__label is-required">
                        <label>区块链</label>
                    </div>
                    <div class="table-form__controls">
                        <select class="table-select size-full-width" placeholder="请选择" name="Algorithm">
                            <option disabled="" hidden="">请选择</option>
                            <option value="0">区块链</option>
                            <option value="1">区块链</option>
                            <option value="2">区块链</option>
                            <option value="3">区块链</option>
                        </select>
                    </div>
                </div>
                <div class="table-form__item">
                    <div class="table-form__label is-required">
                        <label>投票内容</label>
                    </div>
                    <div class="table-form__controls">
                        <select class="table-select size-full-width" placeholder="请选择" name="Algorithm">
                            <option disabled="" hidden="">请选择</option>
                            <option value="0">投票内容</option>
                            <option value="1">投票内容</option>
                            <option value="2">投票内容</option>
                            <option value="3">投票内容</option>
                        </select>
                    </div>
                </div>
                <div class="table-form__item">
                    <div class="table-form__label is-required">
                        <label>阈值</label>
                    </div>
                    <div class="table-form__controls">
                        <select class="table-select size-full-width" placeholder="请选择" name="Algorithm">
                            <option disabled="" hidden="">请选择</option>
                            <option value="0">阈值</option>
                            <option value="1">阈值</option>
                            <option value="2">阈值</option>
                            <option value="3">阈值</option>
                        </select>
                    </div>
                </div>
                <div class="table-form__item">
                    <div class="table-form__label is-required">
                        <label>组织</label>
                    </div>
                    <div class="table-form__controls">
                        <select class="table-select size-full-width" placeholder="请选择" name="Algorithm">
                            <option disabled="" hidden="">请选择</option>
                            <option value="0">组织</option>
                            <option value="1">组织</option>
                            <option value="2">组织</option>
                            <option value="3">组织</option>
                        </select>
                    </div>
                </div>
                <div class="table-form__item">
                    <div class="table-form__label is-required">
                        <label>角色</label>
                    </div>
                    <div class="table-form__controls">
                        <select class="table-select size-full-width" placeholder="请选择" name="Algorithm">
                            <option disabled="" hidden="">请选择</option>
                            <option value="0">角色</option>
                            <option value="1">角色</option>
                            <option value="2">角色</option>
                            <option value="3">角色</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>
        <div class="table-dialog__footer">
            <div class="table-dialog__btnwrap">
                <button class="table-btn-btn weak-2" >确定</button>
                <button class="table-btn-btn table-btn--weak weak-2">取消</button>
            </div>
        </div>
    </div> -->
</div>
<script type="text/javascript" src="../../../../../content/pc/sysmgt/chianCommittee/js/jquery.min.js"></script>
<script src="../../../../../lib/bootstrap/js/bootstrap.min.js"></script>
<script src="../../../../../lib/ui/js/plugins/datepicker/bootstrap-datepicker.js"></script>
<script src="../../../../../lib/ui/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../../../../../lib/ui/js/plugins/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script src="../../../../../lib/layui/layui.all.js"></script>
<script type="text/javascript" src="../../../../../content/pc/sysmgt/chianCommittee/js/index.js"></script>
<!-- 创建区块链委员会 -->
<script type="text/template" id="createBlock">
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">委员会名称</label>
            <div class="layui-input-block">
              <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入委员会名称" class="layui-input">
            </div>
          </div>
        <div class="layui-form-item">
          <label class="layui-form-label">区块链</label>
          <div class="layui-input-block">
            <select name="interest" lay-filter="aihao">
              <option value=""></option>
              <option value="0">写作</option>
              <option value="1" selected="">阅读</option>
              <option value="2">游戏</option>
              <option value="3">音乐</option>
              <option value="4">旅行</option>
            </select>
          </div>
        </div>
      </form>
</script>
<!-- 添加策略 -->
<script type="text/template" id="addPolicy">
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">区块链</label>
            <div class="layui-input-block">
              <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入区块链" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">投票内容</label>
            <div class="layui-input-block">
              <select name="interest" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
              </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">阀值</label>
            <div class="layui-input-block">
              <select name="interest1" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
              </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">组织</label>
            <div class="layui-input-block">
              <select name="interest2" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
              </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">角色</label>
            <div class="layui-input-block">
              <select name="interest3" lay-filter="aihao">
                <option value=""></option>
                <option value="0">写作</option>
                <option value="1" selected="">阅读</option>
                <option value="2">游戏</option>
                <option value="3">音乐</option>
                <option value="4">旅行</option>
              </select>
            </div>
        </div>
    </form>
</script>
<script>
    $('.dialog1btn').click(function() {
        $('.dialog').show();
    });
    $('.close1').click(function() {
        $('.dialog').hide();
    });
    $('.dialog2btn').click(function() {
        $('.dialog1').show();
    });
    $('.close2').click(function() {
        $('.dialog1').hide();
    });
    $('.weak-1').click(function() {
        $('.dialog').hide();
    });
    $('.weak-2').click(function() {
        $('.dialog1').hide();
    });
</script>
</body>
</html>
